<template>
  <div>
    <button @click="handleClick">按钮</button>
  </div>
</template>

<script>
import Test4 from "@/components/Test4";
import { showDialog } from "@/components/Dialog/dialog";
export default {
  name: "App",
  components: {
    Test4,
  },
  methods: {
    handleClick() {
      showDialog(Test4);
    }
  },
  mounted() {

  }
};
</script>

<style>
img {
  width: 100px;
  height: 60px;
  margin-right: 10px;
}
</style>
